﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class Control_VIP : UserControl
    {
        public Control_VIP()
        {
            InitializeComponent();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void label5_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_VIP_add cva = new Control_VIP_add();
            cva.Show();
            this.MainPanel.Controls.Add(cva);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_VIP_modify cvm = new Control_VIP_modify();
            cvm.Show();
            this.MainPanel.Controls.Add(cvm);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_VIP_delete cvd = new Control_VIP_delete();
            cvd.Show();
            this.MainPanel.Controls.Add(cvd);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_VIP_search cvs = new Control_VIP_search();
            cvs.Show();
            this.MainPanel.Controls.Add(cvs);
        }

        private void MainPanel_Paint(object sender, PaintEventArgs e)
        {

        }
    }
}
